package com.sky.business.sys.handler.exception;

/**
 * 相机设备不存在异常
 */
public class CameraNotFoundException extends RuntimeException {
    /**
     * 设备id
     */
    private final String deviceId;

    /**
     * 构造器
     * @param deviceId 设备id
     */
    public CameraNotFoundException(String deviceId) {
        super("deviceId:"+deviceId);
        this.deviceId = deviceId;
    }

    /**
     * 获取设备id
     * @return 设备id
     */
    public String getDeviceId() {
        return deviceId;
    }
}
